package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * ai标签参数
 * @author XueYong
 */
@Data
@ApiModel("ai标签更新参数")
public class AiTagUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "主键")
    private String id;

    @NotNull(message = "sessionId参数缺失")
    @ApiModelProperty(value = "会话id")
    private String sessionId;

    @NotNull(message = "title参数缺失")
    @ApiModelProperty(value = "会话名称(默认是id)")
    private String title;

}
